#ifndef __DATA_RETRIEVE_H__
#define __DATA_RETRIEVE_H__

#define DATA_RETRIEVE_START_YEAR 100
#define DATA_RETRIEVE_START_SEASON 1

class DataRetrieve
{
public:
	// ctor
	DataRetrieve( const char* db_path );
	
	// dtor
	~DataRetrieve();
	
	// try to get new data
	int UpdateDatabase();
	
private:
	// open & create database
	int OpenDatabase( const char* db_path );
	int CloseDatabase();

	// sqlite3 related vars
	sqlite3 *m_p_db;
};

#endif /* __DATA_RETRIEVE_H__ */
